/**
    <one line to give the program's name and a brief idea of what it does.>
    Copyright (C) 2010  Sean Beecroft

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

 * @version 1.10 2010-01-01
 * @author Sean Beecroft
 */
package yawiki.server.symbols;
import java.net.URL;

public class Citation extends Symbol 
{
	public static final int NEWS = 1;
	public static final int WEB = 2;
	public static final int BOOK = 3;
	public static final int TV = 4;
	public static final int VIDEO = 5;
	public static final int OTHER = 6;
	public static final int UNSOURCED = 7;
	
	
	String isbn;
	String title;
	URL url;
	
	int type = UNSOURCED;

	public Citation(URL url, int type)
	{
		this.url = url;
	}

	public Citation(String isbn, int type)
	{
		this.isbn = isbn;
	}
	
	public void setISBN( String isbn )
	{
		this.isbn = isbn;
	}

	public void setURL( URL isbn )
	{
		this.url = url;
	}

	public String getISBN()
	{
		return isbn;
	}
	
	public URL getURL()
	{
		return url;
	}
	
	public int getType()
	{
		return type;
	}

	public void setType(int type)
	{
		this.type = type;
	}

}